package com.chinasofti.collection;

public class MyInteger4 {
    public static void main(String[] args) {
        String s = "100";
        //  String  >> Integer >> int
        Integer i = Integer.valueOf(s);
        int x = i.intValue();
        System.out.println("x = " + x);

        int y = Integer.parseInt(s);
        System.out.println("y = " + y);
    }
}
